package com.pms.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.pms.pojo.Department;

public interface OrganizationMapper {
	
	public Department getDepartmentByDeptId(int deptId);
	
	public List<Department> getDepartmentByDeptName(String deptName);
	
	public List<Department> getDepartmentByDeptType(Integer deptType);
	
	public List<Department> getDepartmentList();
	
	public void insertDepartment(@Param("department")Department department);
	
	public void deleteDepartment(int deptId);
	
	public void updateDepartment(@Param("department")Department department);

	public List<Department> getDepartmentListByCondition(@Param("department")Department department);
	
}
